<template>
  <div>
      <div class="othershead">
          <span @click="back()">&lt;</span>
         
          <input type="text" placeholder="搜索我的全部订单">
      </div>
      <div class="othersnav">
         
          <ul>
              <li><router-link to="/others/dfk">代付款</router-link></li>
              <li><router-link to="/others/dsh">待收货</router-link></li>
              <li> <router-link to="/others/dsy">待使用</router-link></li>
              <li><router-link to="/others/dpj">待评价</router-link></li>
              <li><router-link to="/others/sh">退款/售后</router-link></li>
          </ul>
      </div>
      <div>
          <router-view></router-view>
      </div>
  </div>
</template>

<script>
export default {

    methods:{
        back(){
            this.$router.push("/myself")
        }
    }
}
</script>

<style scoped>
.othershead{
    width: 3.5rem;

    margin:0.2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.othershead>input{
    display: block;
    width: 3rem;
    height: 0.3rem;
    box-sizing: border-box;
    padding: 0 0.2rem;
    background-color: #F6F7F9;
    border: 0;
    border-radius: 5px;
}
.othershead>span{
    font-size: 0.3rem;
}
.othersnav{
    width: 3.5rem;
    margin: auto;
    height:0.3rem;
}
a{
    color: black;
    font-size: 0.12rem;
    font-weight: 600;
}
.othersnav>ul{
    display: flex;
    justify-content: space-around;
}
.router-link-active{
    border-bottom: 1px solid #F4BA00;
}
</style>